/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.bar.carta.model;

import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

import java.util.Date;

/**
 * The base model interface for the Plato service. Represents a row in the &quot;carta_Plato&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.bar.carta.model.impl.PlatoModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.bar.carta.model.impl.PlatoImpl}.
 * </p>
 *
 * @author pgonzalm
 * @see Plato
 * @see com.bar.carta.model.impl.PlatoImpl
 * @see com.bar.carta.model.impl.PlatoModelImpl
 * @generated
 */
public interface PlatoModel extends BaseModel<Plato> {
	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify or reference this interface directly. All methods that expect a plato model instance should use the {@link Plato} interface instead.
	 */

	/**
	 * Returns the primary key of this plato.
	 *
	 * @return the primary key of this plato
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this plato.
	 *
	 * @param primaryKey the primary key of this plato
	 */
	public void setPrimaryKey(long primaryKey);

	/**
	 * Returns the plato ID of this plato.
	 *
	 * @return the plato ID of this plato
	 */
	public long getPlatoId();

	/**
	 * Sets the plato ID of this plato.
	 *
	 * @param platoId the plato ID of this plato
	 */
	public void setPlatoId(long platoId);

	/**
	 * Returns the tipo ID of this plato.
	 *
	 * @return the tipo ID of this plato
	 */
	public long getTipoId();

	/**
	 * Sets the tipo ID of this plato.
	 *
	 * @param tipoId the tipo ID of this plato
	 */
	public void setTipoId(long tipoId);

	/**
	 * Returns the create date of this plato.
	 *
	 * @return the create date of this plato
	 */
	public Date getCreateDate();

	/**
	 * Sets the create date of this plato.
	 *
	 * @param createDate the create date of this plato
	 */
	public void setCreateDate(Date createDate);

	/**
	 * Returns the activo of this plato.
	 *
	 * @return the activo of this plato
	 */
	public boolean getActivo();

	/**
	 * Returns <code>true</code> if this plato is activo.
	 *
	 * @return <code>true</code> if this plato is activo; <code>false</code> otherwise
	 */
	public boolean isActivo();

	/**
	 * Sets whether this plato is activo.
	 *
	 * @param activo the activo of this plato
	 */
	public void setActivo(boolean activo);

	/**
	 * Returns the imagen of this plato.
	 *
	 * @return the imagen of this plato
	 */
	public long getImagen();

	/**
	 * Sets the imagen of this plato.
	 *
	 * @param imagen the imagen of this plato
	 */
	public void setImagen(long imagen);

	/**
	 * Returns the precio of this plato.
	 *
	 * @return the precio of this plato
	 */
	public float getPrecio();

	/**
	 * Sets the precio of this plato.
	 *
	 * @param precio the precio of this plato
	 */
	public void setPrecio(float precio);

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public Serializable getPrimaryKeyObj();

	public void setPrimaryKeyObj(Serializable primaryKeyObj);

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(Plato plato);

	public int hashCode();

	public CacheModel<Plato> toCacheModel();

	public Plato toEscapedModel();

	public String toString();

	public String toXmlString();
}